package davidtps.godutch.receiver;

import davidtps.godutch.service.ServiceDataBackUp;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;

public class ReceiverBootStart extends BroadcastReceiver {
	String mAction = "android.intent.action.BOOT_COMPLETED";

	@Override
	public void onReceive(Context context, Intent intent) {
		if(intent.getAction().equals(mAction)){
			context.startService(new Intent(context,ServiceDataBackUp.class));
		}
	}

}
